package cn.com.roy.thread.t3_1_11.stack_2_new;

public class RunCls {

    public static void main(String[] args) {
         MyStack stack = new MyStack();

        ThreadP p = new ThreadP(stack);
        ThreadC c1 = new ThreadC(stack);
        ThreadC c2 = new ThreadC(stack);
        ThreadC c3 = new ThreadC(stack);
        ThreadC c4 = new ThreadC(stack);
        ThreadC c5 = new ThreadC(stack);



        p.start();
        c1.start();
        c2.start();
        c3.start();
        c4.start();
        c5.start();
    }


}
